package com.dkm.ec.activity.repository;

import com.dkm.biz.repository.IRepository;
import com.dkm.ec.activity.domain.SecKillActivityConfig;
import com.dkm.ec.activity.persistence.entity.SecKillActivityConfigPo;

import java.util.List;

/**
 * Created by fanjinyuan on 2017/8/12.
 */
public interface SecKillActivityConfigRepository extends IRepository<String, SecKillActivityConfigPo, SecKillActivityConfig> {

    public List<SecKillActivityConfigPo> findTodayActivities();

    /**
     * 获取活动详情
     * @param activityId
     * @return
     */
    public SecKillActivityConfigPo get(String activityId);

}
